package com.dabai.dbutils.dialog.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dabai.dbutils.R;

import java.util.Arrays;
import java.util.List;

/**
 * Description : Other
 *
 * @author BAI
 */
public class ListDialogAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public ListDialogAdapter(String[] data) {
        super(R.layout.item_dialog_list, Arrays.asList(data));
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, String s) {

        baseViewHolder.setText(R.id.textView,s);

    }
}
